public static bool IsFullySuccess <TModel>(this ServiceResponse <TModel> response) { return(!response.HasErrors() && response.Result == ServiceResponseResult.Success); }
public static bool HasErrors <TModel>(this ServiceResponse <TModel> response) { return(response.ErrorMessage.HasValue()); }