You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
481 B
23 lines
481 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DTO.Factory
|
|
{
|
|
public class ApiResponse<T>
|
|
{
|
|
public string Message { get; set; }
|
|
public T Data { get; set; }
|
|
public List<ApiLink> Links { get; set; } = new List<ApiLink>();
|
|
|
|
|
|
public ApiResponse(string message, T data = default)
|
|
{
|
|
Message = message;
|
|
Data = data;
|
|
}
|
|
}
|
|
}
|