Exemplo n.º 1
0
        public ActionResult ActionRejectSelected(List<Guid> selectedIds, Guid UserId, string Reason)
        {
            Tra_TraineeRegisterModel model = new Tra_TraineeRegisterModel();
            var traineeRegisterService = new Tra_TraineeRegisterServices();

            if (selectedIds.Count >= 0)
            {
                var status = traineeRegisterService.ActionRejectTraineeRegister(selectedIds, UserId,Reason);
            }
            return Json(null);
        }
Exemplo n.º 2
0
 public ActionResult ActionCancelSected(List<Guid> selectedIds)
 {
     Tra_TraineeRegisterModel model = new Tra_TraineeRegisterModel();
     var traineeRegisterService = new Tra_TraineeRegisterServices();
     var status = string.Empty;
     if (selectedIds.Count >= 0)
     {
          status = traineeRegisterService.ActionCancelTraineeRegister(selectedIds);
     }
     return Json(status,JsonRequestBehavior.AllowGet);
 }
Exemplo n.º 3
0
 public ActionResult UpdateStatusSelected(List<Guid> selectedIds, Guid UserId)
 {
     Tra_TraineeRegisterModel model = new Tra_TraineeRegisterModel();
     var traineeRegisterService = new Tra_TraineeRegisterServices();
     
     if (selectedIds.Count >= 0)
     {
         var status = traineeRegisterService.ApprovedTraineeRegister(selectedIds,UserId);
     }
     return Json(null);
 }