responseObjUtil.cs 464 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using Newtonsoft.Json;
  6. namespace ResfullApi.Models
  7. {
  8. public class responseObjUtil
  9. {
  10. [JsonProperty("status")]
  11. public string status { get; set; }
  12. [JsonProperty("message")]
  13. public string message { get; set; }
  14. public override string ToString()
  15. {
  16. return JsonConvert.SerializeObject(this);
  17. }
  18. }
  19. }