public static bool IsSuccess(this QcProjectApiBaseModel input) { return(input != null && string.IsNullOrEmpty(input.Error)); }
public static bool IsError(this QcProjectApiBaseModel input) { return(input == null || !string.IsNullOrEmpty(input.Error)); }