Exemple #1
0
 public static ApiResult <T> Fail <T>(T data, IEnumerable <string> errorMessages) =>
 ApiResult <T> .Fail(data, errorMessages);
Exemple #2
0
 public static ApiResult <object> Fail(IEnumerable <string> errorMessages) =>
 ApiResult <object> .Fail(errorMessages);
Exemple #3
0
 public static ApiResult <T> Fail <T>(T data, string errorMessage) =>
 ApiResult <T> .Fail(data, errorMessage);
Exemple #4
0
 public static ApiResult <object> Fail(IEnumerable <Notification> errorMessages) =>
 ApiResult <object> .Fail(errorMessages);
Exemple #5
0
 public static ApiResult <object> Fail(string errorMessage) =>
 ApiResult <object> .Fail(errorMessage);
Exemple #6
0
 public static ApiResult <T> Ok <T>(T data) =>
 ApiResult <T> .Ok(data);
Exemple #7
0
 public static ApiResult <object> Ok() =>
 ApiResult <object> .Ok();
Exemple #8
0
 public static ApiResult <object> Parse(Result commandResult) =>
 ApiResult <object> .Parse(commandResult);