public Task <PageList <Call> > GetCalls(string toFilter, string fromFilter, string parentCallSidFilter, string[] statusFilter, DateTime?startTimeFilter, DateTime?startTimeBeforeFilter, DateTime?startTimeAfterFilter, DateTime?endTimeFilter, DateTime?endTimeBeforeFilter, DateTime?endTimeAfterFilter, int page, int pageSize, string pageToken) => CallRepository.GetCalls(toFilter, fromFilter, parentCallSidFilter, statusFilter, startTimeFilter, startTimeBeforeFilter, startTimeAfterFilter, endTimeFilter, endTimeBeforeFilter, endTimeAfterFilter, page, pageSize, pageToken);
public IActionResult Get() { var calls = _callRepository.GetCalls(); return(new OkObjectResult(calls)); }