public virtual async Task <_ <OrganizationEntity> > AddOrg(OrganizationEntity model) { var res = new _ <OrganizationEntity>(); model.Init("org"); if (!model.IsValid(out var msg)) { res.SetErrorMsg(msg); return(res); } await this._orgRepo.AddAsync(model); res.SetSuccessData(model); return(res); }