您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ServiceResponseDTO.cs 368B

123456789101112131415
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Diligent.WebAPI.Contracts.DTOs
  7. {
  8. public class ServiceResponseDTO<T> where T : class
  9. {
  10. public bool IsError { get; set; } = false;
  11. public string ErrorMessage { get; set; }
  12. public T Data { get; set; }
  13. }
  14. }