示例#1
0
 /// <summary>
 ///		Get 'not found' status. Gets converted to HTTP code 404 (NotFound)
 /// </summary>
 /// <typeparam name="TValue"> The expected value type if the operation was successful </typeparam>
 /// <param name="messages"> Custom messages </param>
 public static IDomainResult <TValue> NotFound <TValue>(IEnumerable <string> messages) => DomainResult <TValue> .NotFound(messages);
示例#2
0
 /// <summary>
 ///		Get 'not found' status. Gets converted to HTTP code 404 (NotFound)
 /// </summary>
 /// <param name="messages"> Custom messages </param>
 public static IDomainResult <TValue> NotFound(IEnumerable <string> messages) => new DomainResult <TValue>(DomainResult.NotFound(messages));
示例#3
0
 /// <summary>
 ///		Get 'not found' status. Gets converted to HTTP code 404 (NotFound)
 /// </summary>
 /// <typeparam name="TValue"> The expected value type if the operation was successful </typeparam>
 /// <param name="message"> Optional message </param>
 public static IDomainResult <TValue> NotFound <TValue>(string?message = null) => DomainResult <TValue> .NotFound(message);
示例#4
0
 /// <summary>
 ///		Get 'not found' status. Gets converted to HTTP code 404 (NotFound)
 /// </summary>
 /// <param name="message"> Optional message </param>
 public static IDomainResult <TValue> NotFound(string?message = null) => new DomainResult <TValue>(DomainResult.NotFound(message));