Exemplo n.º 1
0
 public IActionResult GetByDate(FromDateToDate date)
 {
     return(Ok(_repo.GetByDate(date.fromDate, date.toDate)));
 }
Exemplo n.º 2
0
 public async Task <IActionResult> GetByDate(FromDateToDate date)
 {
     return(Ok(await _repo.GetByDate(date.fromDate, date.toDate)));
 }