using Iceshrimp.Frontend.Core.Services; using Iceshrimp.Shared.Schemas.Web; namespace Iceshrimp.Frontend.Core.ControllerModels; internal class ProfileControllerModel(ApiClient api) { public Task GetProfile() => api.Call(HttpMethod.Get, "/profile"); public Task UpdateProfile(UserProfileEntity request) => api.Call(HttpMethod.Put, "/profile", data: request); }