public async Task <ActionResult <Lock> > GetLock(int id) { var result = await _locksService.GetLock(id); return(Ok(result)); }