public PostFeedData(EditText txtComment, EventFeedModel model, ListView lvComment, Activity activity, long eventID, CommentsAdapter madapter) { this.txtComment = txtComment; this.model = model; this.lvComment = lvComment; this.activity = activity; this.eventID = eventID; this.madapter = madapter; jresult = new JsonResult(); }
public async Task <JsonResult> PostFeed(EventFeedModel ev, string url) { JsonResult resp = null; try { resp = await call.Post <EventFeedModel>(ev, url); return(resp); } catch (Exception ex) { CR.Filename = "EventRepository"; CR.Eventname = "PostFeed"; CR.UserID = GlobalClass.UserID == null ? "0" : GlobalClass.UserID; CR.ErrorMsg = ex.Message + ex.StackTrace; await crashReport.PostCrashReport(CR); return(resp); } }
public async Task <JsonResult> PostFeed(EventFeedModel ev, string url) { return(await repo.PostFeed(ev, url)); }