private void btnSave_Click(object sender, EventArgs e)
        {
            ReservationFullDTO dto = new ReservationFullDTO();

            dto.CheckIn         = dtpEntiringDate.Value;
            dto.CheckOut        = dtpLeavingDate.Value;
            dto.TCNo            = txtCustomerIdentity.Text;
            dto.CustomerName    = txtCustomerName.Text;
            dto.CustomerSurname = txtCustomerLastName.Text;
            dto.CustomerRooms   = _customersRooms;
            ReservationFullDTOController rc = new ReservationFullDTOController();

            rc.Add(dto);
        }
Esempio n. 2
0
 public string Add(ReservationFullDTO dto)
 {
     return("oldu");
 }