public bool Delete(AgreementDto agreementDto)
 {            
     if(agreementDto != null)
     {
         _context.Agreement.Remove(agreementDto.DtoToEntity());
         _context.SaveChanges();
         return true;
     }
     return false;
 }
 public bool Update(AgreementDto agreementDto)
 {
     try
     {
         _context.Agreement.Update(agreementDto.DtoToEntity());
         _context.SaveChanges();
         return true;
     }
     catch
     {
         return false;
     }
 }