Exemplo n.º 1
0
        /// <summary>
        /// Get the team based on the team id
        /// </summary>
        /// <param name="teamId">team id</param>
        /// <returns>team list</returns>
        public IEnumerable <TeamModel> GetTeam(int teamId)
        {
            var team      = userReadRepository.GetTeam(teamId);
            var teamModel = teamMapper.EntityToModel(team);

            return(teamModel);
        }