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); }
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); }