public Task <ActivityType> Create(NewActivityType data) { Ensure.ArgumentNotNull(data, nameof(data)); return(ApiConnection.Post <ActivityType>(ApiUrls.ActivityTypes(), data)); }
public Task <IReadOnlyList <ActivityType> > GetAll() { return(ApiConnection.GetAll <ActivityType>(ApiUrls.ActivityTypes())); }