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