예제 #1
0
		public async Task<Beacon> AddAsync(BeaconDto beaconDto)
		{
			var beacon = _converter.ConvertDtoToBeacon(beaconDto);
			_context.Add(beacon);
			await _context.SaveChangesAsync();
			return beacon;
		}