Exemplo n.º 1
0
        public async Task <IActionResult> GetCheckedInList(int locationId, int accountId, string searchword)
        {
            try
            {
                var checkin = await _checkInRepository.GetCheckInList(locationId, searchword, accountId);

                return(Ok(checkin));
            }
            catch (Exception ex)
            {
                return(BadRequest());
            }
        }