/// <summary>Gets the user by identifier asynchronous.</summary>
        /// <param name="id">The identifier.</param>
        /// <returns></returns>
        public async Task <AppUser> GetUserByIdAsync(int?id)
        {
            var User = await AppUsers
                       .FirstOrDefaultAsync(m => m.Id == id);

            return(User);
        }