示例#1
0
 public PaginatedData <ServiceOutput> GetAllServices(
     [FromServices] GetAllServicesQuery query,
     [FromQuery] Pagination pagination
     )
 {
     return(query.GetAllServices(pagination));
 }
示例#2
0
        private void LoadDgvService()
        {
            var updateService = new GetAllServicesQuery();

            dgvService.DataSource = updateService.GetAllServices();
        }
示例#3
0
        private List <int> GetServiceTypes()
        {
            var getServices = new GetAllServicesQuery();

            return(getServices.GetAllServices().Select(a => a.Id).ToList());
        }
示例#4
0
        private void LoadDgvService()
        {
            var getServices = new GetAllServicesQuery();

            dgvService.DataSource = getServices.GetAllServices();
        }