public async Task <bool> End(int doorId, int IntimidatorId) { IntimidatorIntimidation intimidation = await new IntimidationData(_context).SelectAsync(Time.GetSystemNow().Date, doorId, IntimidatorId); if (intimidation == null) { return(false); } intimidation.Depleted = true; return(await new IntimidationData(_context).End(intimidation)); }