public TeamDTO GetByID(int id, TeamOptions options) { return Mapper.Map<TeamDTO>(_context.Teams.Where(x => x.Id == id).AddIncludeStatements(options).First()); }
public TeamDTO Team_GetByID(int id, TeamOptions options) { TeamService service = new TeamService(); return service.GetByID(id, options); }