/// <summary> /// 添加域名分类 /// </summary> public async Task <DomainType> CreateDomainTypeAsync(DomainType model) { model.Init(); await DomainTypeRepository.AddAsync(model); return(model); }