public IReadOnlyCollection <HumanModel> GetHumanByRoomId(int id) { var humans = _humansRepository.GetHumanByRoomId(id); var result = _mapper.Map <IReadOnlyCollection <HumanModel> >(humans); return(result); }