public async Task <ActionResult <Test_Type> > Post(Test_Type test_Type)
        {
            _context.Test_Types.Add(test_Type);
            await _context.SaveChangesAsync();

            return(CreatedAtAction("Get", new { id = test_Type.Id }, new BaseResponse {
                data = test_Type
            }));
        }
        public async Task <ActionResult <Test_Type> > Put(int id, Test_Type test_type)
        {
            var tes = await _context.Test_Types.FindAsync(id);

            if (tes == null)
            {
                return(NotFound());
            }

            tes.TESTISCURRENT = test_type.TESTISCURRENT;
            tes.TESTNAME      = test_type.TESTNAME;
            tes.TESTORDER     = test_type.TESTORDER;

            await _context.SaveChangesAsync();

            return(Ok(new BaseResponse {
                data = tes
            }));
        }