public bool Add(UavType type)
 {
     try
     {
         _db.UavTypes.Add(type);
         return true;
     }
     catch
     {
         return false;
     }
    
 }
 protected UavTypeDTO ToUavTypeDTO(UavType type)
 {
     Mapper.CreateMap<UavType, UavTypeDTO>();
     return Mapper.Map<UavType, UavTypeDTO>(type);
 }