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