public async Task <Guid> AddCalendarAsync(Calendar calendar) { CalendarDao entity = new CalendarDao { Name = calendar.Name, Description = calendar.Description }; await _calendarRepository.AddAsync(entity); return(entity.Id); }
public async Task <Guid> AddCalendarAsync(Calendar calendar) { CalendarDao entity = new CalendarDao { Name = calendar.Name, Description = calendar.Description }; await _calendarRepository.AddAsync(entity); return(entity.Id); }