public SaveAllreturn SaveAll()
        {
            SaveAllreturn donus = new SaveAllreturn();

            try
            {
                donus.affected = _context.SaveChanges();
                donus.OK       = donus.affected > 0;
            }
            catch (Exception e)
            {
                donus.OK = false;
                var hata1 = e.Message;
                donus.ERR = e.InnerException != null ? hata1 + " (=>) " + e.InnerException.Message : hata1;
            }
            return(donus);
        }
 public void Commit()
 {
     _context.SaveChanges();
 }