TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Denmark Puso
NA
232
50.6k
how to get specific data and save it?
Sep 16 2019 5:21 AM
ill try to get the all ID with status of "Picked-up" in other table. im newbie here im using c# asp.net mvc
this is my code any suggest on how to do. thanks in advance
var package = _packageService.GetAll().Where(x => x.Status ==
"Picked-up"
);
var shipmentItem =
new
ShipmentItems
{
ShipmentId = model.ShipmentId
};
if
(package != null)
{
shipmentItem.PackageId = package.Id;
}
_shipmentItemService.Add(shipmentItem);
return
RedirectToAction(
"addshipmentitem"
);
Reply
Answers (
4
)
How to debugg code remotely
Setting ur App DateTime accg to Time Zone Offset of Client