public async Task <IActionResult> Remove(string id) { var result = await SCompaniesProposals.Remove(id); return(Ok(result)); }
public async Task <IActionResult> Save([FromBody] ECompanyProposal eProposal) { var result = await SCompaniesProposals.Save(eProposal); return(Ok(result)); }
public IActionResult GetCount(string companyID) { Int64 totalListCount = SCompaniesProposals.GetCount(companyID); return(Ok(totalListCount)); }
public IActionResult GetByID(string id) { var result = SCompaniesProposals.GetByID(id); return(Ok(result)); }
public IActionResult GetAll(string companyID, int listCount = -1, int pageNumber = 0, string orderBy = "id desc") { var list = SCompaniesProposals.GetAll(companyID, listCount, pageNumber, orderBy); return(Ok(list)); }