public bool Add(Arac model) { using (AracRepository aracRepo = new AracRepository()) { try { if (aracRepo.Add(model)) { return(true); } else { return(false); } } catch (Exception ex) { throw new Exception(ex.Message); } } }