public async Task <int> AddWorkshopAsync(Workshop workshop) { if (workshop == null) { throw new ArgumentNullException($"Argument {nameof(workshop)} can't be null!"); } int id = await workshopRepository.AddWorkshopAsync(workshop.ToWorkshopDto()); return(id); }