/// <inheritdoc/> public async Task UpdateOrganizationUnit(OrganizationUnitDto input) { var ou = await _ouRepository.GetAsync(input.Id); input.MapTo(ou); await _organizationUnitManager.UpdateAsync(ou); }
/// <inheritdoc/> public async Task CreatOrganizationUnit(OrganizationUnitDto input) { await _organizationUnitManager.CreateAsync(input.MapTo <OrganizationUnit>()); }