public ActionResult AddPersonel(int?SPID, int WorkStationID)
        {
            var model = new ProductionLineBalancing.Models.ProductionLineInfo.WorkersScheduleInfoModel();

            model.ScheduleProductionLineID2 = (int)SPID;
            return(View(model));
        }
 public ActionResult DeletePersonel(ProductionLineBalancing.Models.ProductionLineInfo.WorkersScheduleInfoModel collection)
 {
     try
     {
         // TODO: Add delete logic here
         ProductionLine_rep.deleteDetailDetail((int)collection.WorkersScheduleID);
         return(Content("ok"));
     }
     catch
     {
         return(View());
     }
 }