Ejemplo n.º 1
0
 public DoohController(IDoohService doohService, IPartnerService partnerService, IMappingEngine mapping)
 {
     _doohService    = doohService;
     _partnerService = partnerService;
     _mapping        = mapping;
 }
Ejemplo n.º 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)));
        }