Esempio n. 1
0
 public void CreateRoom(RoomCreationDTO room)
 {
     DataAccessLayer.RoomRepos.Create(mapper.Map <Room>(room));
 }
Esempio n. 2
0
 public async Task CreateRoomAsync(RoomCreationDTO room)
 {
     await DataAccessLayer.RoomRepos.CreateAsync(mapper.Map <Room>(room));
 }
Esempio n. 3
0
 public void CreateRoom([FromBody] RoomCreationDTO room)
 {
     BusinesLogic.RoomService.CreateRoom(room);
 }