public string DeleteSalary(DeleteSalary obj)
        {
            var returnModel = (dynamic)null;
            var Salaries    = _SalariesRepo.Get(obj.SalaryId);

            if (Salaries != null)
            {
                _SalariesRepo.Delete(Salaries);
            }
            return(returnModel);
        }
        public JsonResult DeleteSalary(long SalaryId)
        {
            var    result  = (dynamic)null;
            string message = (dynamic)null;

            try
            {
                var model = new DeleteSalary()
                {
                    SalaryId = SalaryId
                };
                message = _SalariesServ.DeleteSalary(model);
                result  = Json(new { success = true, Message = message });
            }
            catch (Exception ex)
            {
                result = Json(new { success = false, Message = "ERROR101:Salaries/DeleteSalary - " + ex.Message });
            }
            return(result);
        }