public IHttpActionResult GetParties() { var parties = partyService.GetAllParties(); return(Ok(parties)); }
public ActionResult GetAllParties() { var partyList = _partyService.GetAllParties(); return(Ok(new { Success = true, data = partyList })); }
public IHttpActionResult GetParties() { var parties = partyService.GetAllParties(); return(Ok(parties)); }
public ActionResult GetAllParties() { var partyList = _partyService.GetAllParties(); return(Ok(new { Success = true, data = partyList })); }