常用方法
常用方法
常用方法
常用方法
public async Task <ActionResult> GetAccommodation(int accommodationId) { try { return(Ok(await _accommodationService.GetSpecificAccommodation(accommodationId))); } catch (Exception ex) { return(BadRequest(ex.Message)); } }