protected async Task EditNeed(string ID) { need = await Http1.GetJsonAsync <Need>("/api/Need/Details/" + ID); this.modalTitle = "Edit Need"; this.isAdd = true; }
protected async Task DeleteConfirm(string ID) { need = await Http1.GetJsonAsync <Need>("/api/Need/Details/" + ID); this.isDelete = true; }
protected async Task GetRatings() { ratingList = await Http1.GetJsonAsync <List <Ratings> >("api/Need/GetRatings"); }
protected async Task GetNeed() { needList = await Http1.GetJsonAsync <List <Need> >("api/Need/Index1"); }