public DeviceController()
 {
     deviceServices = new DeviceServices();
     categoryservices = new CategoryServices();
        propertyservice = new PropertyServices();
     mapper = AutoMapperConfig.Mapper;
     db = new taskdeviceEntities();
 }
 public CategoryServices()
 {
     db = new taskdeviceEntities();
 }
示例#3
0
 public DeviceServices()
 {
     db = new taskdeviceEntities();
 }
 public CategoryController()
 {
     categoryservice = new CategoryServices();
     mapper          = AutoMapperConfig.Mapper;
     db = new taskdeviceEntities();
 }
 public PropertyController()
 {
     propertyservice = new PropertyServices();
     mapper          = AutoMapperConfig.Mapper;
     db = new taskdeviceEntities();
 }
示例#6
0
 public PropertyServices()
 {
     db = new taskdeviceEntities();
 }