コード例 #1
0
        public string Set([FromBody] CharakterDataRequest <t_Charakter> request)
        {
            var repo = new SQLCharakterRepository(Context);

            repo.SetbyView(request.Data);
            return(CreateResponse(repo.GetList()));
        }
コード例 #2
0
        public string Delete([FromBody] CharakterIDRequest request)
        {
            var charakter = this.GetDSASQLCharakter(request);

            charakter.Delete();

            var repo = new SQLCharakterRepository(Context);

            return(CreateResponse(repo.GetList()));
        }
コード例 #3
0
        public string GetList()
        {
            var repo = new SQLCharakterRepository(Context);

            return(CreateResponse(repo.GetList()));
        }