Exemple #1
0
 public BaseResponse AddEmployeeContractKind(EmployeeContractKind employeeContractKind)
 {
     try
     {
         return(new BaseResponse()
         {
             Status = employeeRepository.AddEmployeeContractKind(employeeContractKind),
             EndUserMessage = "با موفقیت اضافه شد"
         });
     }
     catch (Exception ex)
     {
         return(new BaseResponse()
         {
             Status = ResponseStatus.InternalError,
             EndUserMessage = "یک مشکل پیش آماده است"
         });
     }
 }