Пример #1
0
        public async Task <ProfileAddResponse> CreateProfile(MCProfilePostModel obj, int userId)
        {
            var model = new ProfileAddRequest
            {
                Obj = obj
            };
            var result = await BeforeSendRequest <ProfileAddResponse, ProfileAddRequest>(_create_profile_Api, model, userId);

            return(result);
        }
Пример #2
0
        public async Task <BaseResponse <ProfileAddResponse> > CreateProfile(MCProfilePostModel obj)
        {
            var model = new ProfileAddRequest
            {
                Obj = obj
            };
            var result = await BeforeSendRequest <ProfileAddResponse, ProfileAddRequest>(_mcApiconfig.CreateProfileApi, model);

            return(result);
        }