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