public void UpdateEvaluation(Evaluetion evaluation)
 {
     using (EntityModel em = new EntityModel())
     {
         em.Entry(evaluation).State = System.Data.Entity.EntityState.Modified;
         em.SaveChanges();
     }
 }
 public void InsertEvaluation(Evaluetion newEvaluation)
 {
     using (EntityModel em = new EntityModel())
     {
         em.Evaluetion.Add(newEvaluation);
         em.SaveChanges();
     }
 }
 public void DeleteEvaluation(Evaluetion evaluation)
 {
     using (EntityModel em = new EntityModel())
     {
         em.Evaluetion.Remove(evaluation);
         em.SaveChanges();
     }
 }
        public async Task <Evaluetion> FindEvaluationAsync(long evaluationId)
        {
            Evaluetion evaluetion = null;

            using (EntityModel em = new EntityModel())
            {
                evaluetion = await em.Evaluetion.FindAsync(evaluationId);
            }
            return(evaluetion);
        }
        public Evaluetion FindEvaluation(long evaluationId)
        {
            Evaluetion evaluetion = null;

            using (EntityModel em = new EntityModel())
            {
                evaluetion = em.Evaluetion.Find(evaluationId);
            }
            return(evaluetion);
        }
 public void UpdateEvaluation(Evaluetion evaluation)
 {
     _evaluationDAO.UpdateEvaluation(evaluation);
 }
 public void InsertEvaluation(Evaluetion newEvaluation)
 {
     _evaluationDAO.InsertEvaluation(newEvaluation);
 }
 public void DeleteEvaluation(Evaluetion evaluation)
 {
     _evaluationDAO.DeleteEvaluation(evaluation);
 }