public async Task <IActionResult> AddTeamAsync(TeamContractModel model)
        {
            try
            {
                //Check for current user and not from the model
                var currentUser = await GetCurrentUser();

                //set current userId
                model.UserId = currentUser.Id;

                // Create teamstatsId for the team
                return(await teamRepo.AddTeamAsync(model));
            }
            catch (Exception)
            {
                //log??
                return(BadRequest());
            }
        }