23 lines
407 B
C#
23 lines
407 B
C#
namespace TechHelper.Services
|
|
{
|
|
public class ApiResponse
|
|
{
|
|
public ApiResponse(string message, bool status = false)
|
|
{
|
|
this.Message = message;
|
|
this.Status = status;
|
|
}
|
|
|
|
public ApiResponse(bool status, object result)
|
|
{
|
|
this.Status = status;
|
|
this.Result = result;
|
|
}
|
|
|
|
public string Message { get; set; }
|
|
|
|
public bool Status { get; set; }
|
|
|
|
public object Result { get; set; }
|
|
}
|
|
} |