public Turn(int id, int typeWorkId, int point, string name, EntityCpDataShort entityCpDataShort) { ID = id; EntityCpDataShort = entityCpDataShort; TypeOfWorkId = typeWorkId; Point = point; Name = name; }
public Turn(int studentId, int discId, int idCp, string typeWorkName, int point, string name) { EntityCpDataShort = new EntityCpDataShort(studentId, discId, idCp); TypeWorkName = typeWorkName; TypeOfWorkId = this.GetTypeId(typeWorkName); Point = point; Name = name; }