public int Create(UAbonent ent) { int createdid = 0; UAbonentDAO entDAO = new UAbonentDAO(); sc = new SqlCommand("CreateUAbonent"); sc.CommandType = CommandType.StoredProcedure; addParameters(ent); createdid = entDAO.createEntity(sc); return(createdid); }