public async Task <IPersonProfile> UpdateAsync(ServicePersonProfile item) { ServiceContract.RequireNotNull(item, nameof(item)); ServiceContract.RequireValidated(item, nameof(item)); var personProfile = await PersonProfilesFunctionality.UpdateAsync(item); FulcrumAssert.IsNotNull(personProfile, $"{Namespace}: 56B82634-89A6-4EE4-969D-B7FFB4F9C016"); FulcrumAssert.IsValidated(personProfile, $"{Namespace}: 56B82634-89A6-4EE4-969D-B7FFB4F9C016"); return(personProfile); }
async Task <IPersonProfile> IUpdate <IPersonProfile, string> .UpdateAsync(IPersonProfile item) { return(await UpdateAsync(ServicePersonProfile.ToImplementation(item))); }