Пример #1
0
        public IHttpActionResult PostClientEntry(Load l)
        {
            Load_Data user = new Load_Data();

            // Load fetchedUser  = user.LoadData(l.Client_Code,l.Ext_Code,l.TFS_Development_Id,l.TFS_Source_Code);
            return(Ok());
        }
        public IHttpActionResult PostSaveData([FromBody] Save s)
        {
            Load_Data user        = new Load_Data();
            Save      savedStatus = user.SaveClientInfo(s.Client_Code, s.Project_Code, s.Ext_Code, s.Type, s.TFS_Development_Id, s.TFS_Source_Code);

            return(Ok(savedStatus));
        }
        public IHttpActionResult PostsaveCommentCheckPoint([FromBody] saveRadioButtonCheckPoint s)
        {
            Load_Data user   = new Load_Data();
            Status    status = user.SaveComment(s.Check_Id, s.Client_Code,
                                                s.Project_Code, s.Ext_Code, s.Comment, s.selectedUser, s.username);

            return(Ok(status));
        }
        public IHttpActionResult SubmitClientInfo([FromBody] Save s)
        {
            Load_Data user   = new Load_Data();
            bool      status = user.SubmitClientInfo(s.Initial_QC, s.QC_Rework_1st, s.QC_Rework_2nd,
                                                     s.Client_Code, s.Project_Code, s.Ext_Code);

            return(Ok(status));
        }
        public IHttpActionResult PostsaveRadioButtonCheckPoint2([FromBody] saveRadioButtonCheckPoint s)
        {
            Load_Data user   = new Load_Data();
            Status    status = user.
                               SaveClientData2(s.Check_Id, s.Client_Code, s.Project_Code, s.Ext_Code,
                                               s.Developer_2, s.QC_Resource_2, s.Comment_2, s.selectedUser, s.username_2);

            return(Ok(status));
        }