示例#1
0
 public static bool IsSuccess(this QcProjectApiBaseModel input)
 {
     return(input != null && string.IsNullOrEmpty(input.Error));
 }
示例#2
0
 public static bool IsError(this QcProjectApiBaseModel input)
 {
     return(input == null || !string.IsNullOrEmpty(input.Error));
 }