public void CeneralValueTest() { //Arrange var parameter = new { Operate = "Update", UserID = "mif", UserRole = "Admin", SchoolYear = "20202021", StudentID = "00028123131298", Exceptionality = "110", Placement = "03", Program = "01", }; var sp = "dbo.SIC_sys_StudentSpedProfile"; var expect = "Successfully"; //Act var result = GeneralValue.CommonValue <string>(sp, parameter); //Assert Assert.AreEqual(expect, result, $"Stufent List Testing {result}"); }
public string EditResult(string apiType, string sp, object parameter) { return(GeneralValue.CommonValue <string>(sp, parameter)); }