public static ApplicationUser Convert(this UserGetByRoleRequestVM vm)
        {
            var model = new ApplicationUser
            {
                RoleId = vm.RoleId
            };

            return(model);
        }
        public async Task <List <UserListResponseVM> > GetUsersByRole([FromQuery] UserGetByRoleRequestVM requestVM)
        {
            ApplicationUser        request  = requestVM.Convert();
            List <ApplicationUser> response = await UserApplication.GetUsersByRole(request);

            //todo: convert to VM
            List <UserListResponseVM> responseVm = response.ConvertList();

            return(responseVm);
        }