public ResponseDto <T> HandleCustomException(ResponseDto <T> response, Exception ex)
 {
     response.IsSuccess = false;
     response.Message   = _commonResource.GetString(ex.Message);
     return(response);
 }
 public ResponseDto <T> HandleDeleteException(ResponseDto <T> response, Exception ex)
 {
     response.IsSuccess = false;
     response.Message   = _commonResource.EntityAssignmentExists;
     return(response);
 }
 public ResponseDto <T> HandleException(ResponseDto <T> response)
 {
     response.IsSuccess = false;
     response.Message   = _commonResource.UnExpectedError;
     return(response);
 }