/// <summary> /// Fetches the domain user representing the current application user. /// </summary> /// <returns></returns> public Task <User> GetCurrentUserAsync() { string userId = context.GetCurrentUser(); return(GetUserAsync(userId)); }
public Task Submit(DataReturnVersion dataReturnVersion) { dataReturnVersion.Submit(context.GetCurrentUser()); return(context.SaveChangesAsync()); }