Пример #1
0
 public async Task <PagedViewModel <GroupView> > Get(string name, int pageNumber, int pageSize)
 {
     return(await groupServices.GetGroups(name, pageNumber, pageSize));
 }
Пример #2
0
        public IActionResult GetGroups(int userId)
        {
            List <Group> groups = _groupServices.GetGroups(userId);

            return(Ok(groups));
        }