Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public async Task <IActionResult> GetAll() { var models = await _accommodationService.GetAllAsync(); var viewModels = Mapper.Map <IEnumerable <AccommodationViewModel> >(models); return(Ok(viewModels)); }