public async Task RemoveActivityAsync(Data.Shared.Models.Activity activity) => await _activityRepository.RemoveAsync(activity.AsStore());
public async Task <Data.Shared.Models.Activity> AddOrUpdateActivityAsync(Data.Shared.Models.Activity activity) { var activityResult = await _activityRepository.AddOrUpdateAsync(a => a.Id == activity.ActivityId, activity.AsStore()); return(activityResult.AsModel()); }