public async Task <string> SaveDocument(string id, [FromBody] Models.Document doc)
        {
            EmailService es = new EmailService();

            es.SendEmail();
            return(await AppUtilsServices.Put("/jeevehmarket/" + id, doc));
        }
 public async Task <string> Document(string id)
 {
     if (string.IsNullOrEmpty(id))
     {
         return(await AppUtilsServices.Get("/jeevehmarket/_all_docs"));
     }
     return(await AppUtilsServices.Get("/jeevehmarket/" + id));
 }
 public async Task <Stream> attachments(string id, string name)
 {
     return(await AppUtilsServices.GetAttachment("/jeevehmarket/" + id + @"/" + name).Content.ReadAsStreamAsync());
 }
 public async Task <string> GetAllArticles()
 {
     return(await AppUtilsServices.Get("/jeevehmarket/_design/article/_view/all"));
 }
 public async Task <string> GetAllUsers()
 {
     return(await AppUtilsServices.Get("/jeevehmarket/_design/user/_view/all"));
 }
 public async Task <string> GetAllDesigns()
 {
     return(await AppUtilsServices.Get("/jeevehmarket/_design_docs"));
 }
 public async Task <string> Test()
 {
     return(await AppUtilsServices.Get("/jeevehmarket/_all_docs"));
 }