Пример #1
0
 public Task <IDomainResult <int> > GetNotFoundWithMessagesWhenExpectedNumberTask() => DomainResult.NotFoundTask <int>(new[] { "No, really not found", "Searched everywhere" });
Пример #2
0
 public Task <IDomainResult <int> > GetNotFoundWithMessageWhenExpectedNumberTask() => DomainResult.NotFoundTask <int>("No, really not found");
Пример #3
0
 public Task <IDomainResult <int> > GetNotFoundWithNoMessageWhenExpectedNumberTask() => DomainResult.NotFoundTask <int>();
Пример #4
0
 public Task <IDomainResult> GetNotFoundWithMessagesTask() => DomainResult.NotFoundTask(new[] { "No, really not found", "Searched everywhere" });
Пример #5
0
 public Task <IDomainResult> GetNotFoundWithMessageTask() => DomainResult.NotFoundTask("No, really not found");
Пример #6
0
 public Task <IDomainResult> GetNotFoundWithNoMessageTask() => DomainResult.NotFoundTask();