ScientificReport
ApiResponse.cs
Go to the documentation of this file.
1 namespace ScientificReport.Controllers.Utils
2 {
3  public class ApiResponse
4  {
5  public bool Success { get; set; }
6 
7  public static ApiResponse Ok =>
8  new ApiResponse
9  {
10  Success = true
11  };
12 
13  public static ApiResponse Fail =>
14  new ApiResponse
15  {
16  Success = false
17  };
18  }
19 }