public BaseResponse <bool> AddOfficerRecord(AddOfficerParameter parameter)
 {
     if (Validate(parameter))
     {
         return(officerManager.AddOfficerRecord(parameter));
     }
     else
     {
         BaseResponse <bool> response = new BaseResponse <bool>();
         response.IsSuccessful = false;
         response.Reason       = "JWT_ERR";
         return(response);
     }
 }
Пример #2
0
 public BaseResponse <bool> AddOfficerRecord(AddOfficerParameter parameter)
 {
     return(officerManager.AddOfficerRecord(parameter));
 }