예제 #1
0
 protected virtual ObjectResult Problem(Adnc.Application.Shared.Services.ProblemDetails problemDetails)
 {
     problemDetails.Instance = problemDetails.Instance ?? this.Request.Path.ToString();
     return(Problem(problemDetails.Detail
                    , problemDetails.Instance
                    , problemDetails.Status
                    , problemDetails.Title
                    , problemDetails.Type));
 }
예제 #2
0
 public AppSrvResult([NotNull] ProblemDetails problemDetails)
 {
     ProblemDetails = problemDetails;
 }