public void Update(int id, SensorsGroups model)
 {
     if (model.Id == null)
     {
         model.Id = id;
     }
     _repository.Update(model);
 }
 public void Create(SensorsGroups model)
 {
     _repository.Create(model);
 }