Пример #1
0
 public CufRepoModel(AbstractCurricularUnitForm cuf)
 {
     _cufAcr = cuf.CourseFile.CUnit.Acronym;
     _cufVersion = cuf.Version;
     _cufName = cuf.CourseFile.CUnit.Name;
     _cufUser = cuf.Username;
 }
 public Boolean Edit(AbstractCurricularUnitForm cuf)
 {
     return _ProposalRepo.Change(cuf);
 }
 //public Boolean New() { throw new NotImplementedException(); }
 /// <summary>
 /// New Proposal of an curricular unit.
 ///  
 /// </summary>
 /// <param name="acr"></param>
 /// <param name="version"></param>
 /// <returns></returns>
 public Boolean New(AbstractCurricularUnitForm cuf)
 {
     return (cuf == null)?false:_ProposalRepo.Add(cuf);
 }