Esempio n. 1
0
        public ContentResult insertplayer(List <TempPlayerRequest> request)
        {
            string msg  = string.Empty;
            var    flag = _memberTempService.InsertTempPlayer(request, UserContext.WebUserContext.Id, out msg);

            return(Result <string>(flag, msg));
        }
Esempio n. 2
0
        public void InsertTempPlayer()
        {
            string msg = string.Empty;

            service.InsertTempPlayer(new System.Collections.Generic.List <Model.dto.request.TempPlayerRequest> {
                new Model.dto.request.TempPlayerRequest {
                    ContactMobile = "18701729689",
                    EventGroupId  = 3,
                    EventId       = 2,
                    Name          = "上官",

                    SchoolId = 1
                },
                new Model.dto.request.TempPlayerRequest {
                    ContactMobile = "1870172968219",
                    EventGroupId  = 3,
                    EventId       = 2,
                    Name          = "上官1",

                    SchoolId = 1
                }
            }, 12, out msg);
        }