ReturnMessage.cs 498 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace EMIS.ViewModel
  6. {
  7. [Serializable]
  8. public class ReturnMessage
  9. {
  10. public bool IsSuccess { get; set; }
  11. public string Message { get; set; }
  12. public int? Type { get; set; }
  13. }
  14. [Serializable]
  15. public class ReturnMessage<T>
  16. {
  17. public bool IsSuccess { get; set; }
  18. public string Message { get; set; }
  19. public T Data { get; set; }
  20. }
  21. }