public async Task CreateManufacturerAsync(CreateUpdateManufacturerDto manufacturer, CancellationToken token) { var manufacturerToCreate = new Manufacturer { Name = manufacturer.Name, Foundation = DateTime.Parse(manufacturer.Foundation) }; await ManufacturerRepository.CreateAsync(manufacturerToCreate, token); await UnitOfWork.CommitAsync(token); }