Exemplo n.º 1
0
        public ActionResult SaveAssignEmployeeAsUm(string employeeId, string operationalRole, string currentLocationCode)
        {
            objLoginHelper = (LoginHelper)Session["LogInInformation"];

            try
            {
                hrmsData.UpdateEmployeeAsUm(employeeId, operationalRole, currentLocationCode, objLoginHelper.LogInID, "INSERT");
                return(new JsonResult {
                    Data = ExceptionHelper.ExceptionMessage(string.Empty)
                });
            }
            catch (Exception ex)
            {
                return(new JsonResult {
                    Data = ExceptionHelper.ExceptionMessage(ex)
                });
            }
        }