Ejemplo n.º 1
0
 public ViewStaffOrderByIDResponse ViewStaffOrderByID(ViewStaffOrderByIDRequest request)
 {
     var order = _managementRepo.ViewOrderByID(request.OrderId);
     ViewStaffOrderByIDResponse response = new ViewStaffOrderByIDResponse()
     {
         Order = new Order()
         {
             OrderId = order.OrderId,
             OrderDate = order.OrderDate,
             EmployeeNo = order.EmployeeNo,
             OrdCode = order.OrdCode,
             ItemNo = order.ItemNo,
             Mailing = order.Mailing,
             Month = order.Month,
             Page = order.page,
             Description = order.Description,
             Size = order.Size,
             Price = order.Price,
             Dept = order.Dept,
             StatusID = order.StatusID
         }
     };
     return response;
 }