コード例 #1
0
        public string AddOrUpdateTeam(TeamModel model)
        {
            var newId =
                tradingRepository.AddOrUpdateTeam(
                    new Team
            {
                Id          = model.Id,
                Cid         = model.Cid,
                Name        = model.Name,
                Description = model.Description,
                CreatedOn   = model.CreatedOn,
                EndedOn     = model.EndedOn
            });

            return(newId);
        }