Пример #1
0
        private async Task <AppointmentType> AddAppointmentType()
        {
            var appointmentType = new AppointmentTypeBuilder().Id(7).Build();

            await _repository.AddAsync(appointmentType);

            return(appointmentType);
        }
        private async Task <FrontDesk.Core.Aggregates.AppointmentType> AddAppointmentType()
        {
            var client = new AppointmentTypeBuilder().Id(7).Build();

            await _repository.AddAsync <FrontDesk.Core.Aggregates.AppointmentType, int>(client);

            return(client);
        }