You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
408 B
17 lines
408 B
using Model;
|
|
|
|
namespace Services;
|
|
|
|
public interface ITeamService
|
|
{
|
|
public Task<IEnumerable<Team>> ListTeamsOf(int userId);
|
|
|
|
|
|
public Task<IEnumerable<Team>> ListTeams();
|
|
public Task<int> CountTeams();
|
|
|
|
public Task<Team> AddTeam(string name, string picture, string firstColor, string secondColor);
|
|
public Task RemoveTeams(params int[] teams);
|
|
|
|
public Task<bool> UpdateTeam(Team team);
|
|
} |