Exemple #1
0
 public SysFunAppService(
     IRepository <SysFun, int> repository,
     IRepository <Tag> tagRepository,
     IRepository <SysFunTag> sysFunTagRepository,
     TagManage tagManage
     ) : base(repository)
 {
     _tagRepository       = tagRepository;
     _sysFunTagRepository = sysFunTagRepository;
     _tagManage           = tagManage;
 }
Exemple #2
0
 public OSSObjectAppService(
     IRepository <OSSObject, int> repository,
     IRepository <Tag> tagRepository,
     IRepository <ObjectTag> ObjectTagRepository,
     IRepository <OSSObject> oSSObjectRepository,
     IRepository <SysFunTag> sysFunTagRepository,
     TagManage tagManage,
     IUnitOfWorkManager unitOfWorkManager,
     OSSManage aliyunOSSManage,
     BucketManage bucketManage,
     ISettingManager settingManager
     )
 {
     _tagRepository       = tagRepository;
     _ObjectTagRepository = ObjectTagRepository;
     _sysFunTagRepository = sysFunTagRepository;
     _tagManage           = tagManage;
     _oSSObjectRepository = oSSObjectRepository;
     _unitOfWorkManager   = unitOfWorkManager;
     _aliyunOSSManage     = aliyunOSSManage;
     _bucketManage        = bucketManage;
     _settingManager      = settingManager;
 }
 //Test transfer
 public string ImportTag()
 {
     return(TagManage.TagImport());
 }
        public string AddNewTag(string tagName)
        {
            ManageUserModel uM = (ManageUserModel)Session["logUser"];

            return(TagManage.AddNewTag(tagName, uM.Name));
        }
 public string ModifyModel(int id, string tagName, string tagTypeId, string tagTypeName, int tagStatus)
 {
     return(TagManage.ModifyModel(id, tagName, tagTypeId, tagTypeName, tagStatus));
 }
 public string GetSingleModel(int id)
 {
     return(TagManage.GetSingleModel(id));
 }
 public string GetTagInfo(int pageIndex, int tagType, string insertName = "", string tagName = "")
 {
     return(TagManage.GetTagInfo(pageIndex, tagType, insertName, tagName));
 }