public int UpdateUserStartHomeWork([FromBody] UserInHomeWork userInHomeWork) { UserInHomeWork user = new UserInHomeWork(); return(user.UpdateUserStartHomeWork(userInHomeWork)); }
public UserInHomeWork UpdateDataUserInClassReact(int userId) { UserInHomeWork userInHomeWork = new UserInHomeWork(); return(userInHomeWork.GetUserInHomeWorkFromDb(userId)); }
public int UpdateHomeWorkFinishedReact([FromBody] UserInHomeWork userInHomeWork) { UserInHomeWork user = new UserInHomeWork(); return(user.UpdateHomeWorkFinishedReact(userInHomeWork)); }
public List <UserInHomeWork> GetUserInHomeWorkReact(int userId, int classVersion, int classId) { UserInHomeWork userInHomeWork = new UserInHomeWork(); return(userInHomeWork.GetUserInHomeWorkReact(userId, classVersion, classId)); }