コード例 #1
0
 public DoohController(IDoohService doohService, IPartnerService partnerService, IMappingEngine mapping)
 {
     _doohService    = doohService;
     _partnerService = partnerService;
     _mapping        = mapping;
 }
コード例 #2
0
        public static IQueryable <DoohPanelLocation> GetDoohPanelLocationsByIds(this IDoohService doohService, params int[] ids)
        {
            var source = doohService.GetDoohPanelLocations();

            return(source.Where(x => ids.Contains(x.DoohPanelLocationId)));
        }