public async Task <ResponseModel <List <Round> > > GetByCompanyId([FromRoute] Guid id) { var result = await _roundService.GetByCompanyId(id); return(new ResponseBuilder <List <Round> >() .Success() .Data(result) .Count(result.Count) .build()); }
public async Task <ResponseModel <List <Round> > > GetByCompanyId([FromRoute] Guid id) { var result = await _roundService.GetByCompanyId(id); return(new ResponseBuilder <List <Round> >() .Success() .Data(result) .Count(result.Count) .build()); }