private UserDto AuthenticateUser(UserDto user)
        {
            var users = new UserDto[]
            {
                new UserDto
                {
                    Email    = "*****@*****.**",
                    Username = "******",
                    Password = "******"
                }
            };

            var foundUser = users.FirstOrDefault(u => u.Username == user.Username && u.Password == user.Password);

            if (foundUser != null)
            {
                return(new UserDto
                {
                    Email = foundUser.Email,
                    Username = foundUser.Username
                });
            }

            return(null);
        }
        private UserDto AuthenticateUser(UserDto user)
        {
            var users = new UserDto[]
            {
                new UserDto
                {
                    Email    = "test1Email",
                    FullName = "test1FullName",
                    Password = "******",
                    Username = "******"
                },
                new UserDto
                {
                    Email    = "test2Email",
                    FullName = "test2FullName",
                    Password = "******",
                    Username = "******"
                },
                new UserDto
                {
                    Email    = "test3Email",
                    FullName = "test3FullName",
                    Password = "******",
                    Username = "******"
                },
                new UserDto
                {
                    Email    = "test4Email",
                    FullName = "test4FullName",
                    Password = "******",
                    Username = "******"
                },
                new UserDto
                {
                    Email    = "test5Email",
                    FullName = "test5FullName",
                    Password = "******",
                    Username = "******"
                },
                new UserDto
                {
                    Email    = "test6Email",
                    FullName = "test6FullName",
                    Password = "******",
                    Username = "******"
                }
            };

            var foundUser = users.FirstOrDefault(u => u.Username == user.Username && u.Password == user.Password);

            if (foundUser != null)
            {
                return(new UserDto
                {
                    Email = foundUser.Email,
                    FullName = foundUser.FullName,
                    Username = foundUser.Username
                });
            }

            return(null);
        }