Ejemplo n.º 1
0
        public void UpdateStudentMarkTest()
        {
            //Creating StudentMark
            StudentMark studentMark = CreateStudentMark();

            Assert.AreNotEqual(studentMark.StudentMarkId, 0);

            //Updating StudentMark
            studentMark.Language = 50;
            mStudentDataService.StudentMarkUpdate(studentMark);

            //Getting StudentMark details by StudentMarkId
            var getUpdatedStudentMark = mStudentDataService.GetStudentMarkByStudentMarkId(studentMark.StudentMarkId);

            Assert.AreEqual(studentMark.Language, getUpdatedStudentMark.Language);
        }
 //Created by Vivek on 18.07.2013
 /// <summary>
 /// Students the mark update.
 /// </summary>
 /// <param name="studentMarkUpdate">The student mark update.</param>
 public void StudentMarkUpdate(StudentMark studentMarkUpdate)
 {
     studentDataService.StudentMarkUpdate(studentMarkUpdate);
 }