public void Insert(Proposal obj) { try { ProposalRepository proposalRepository = new ProposalRepository(); obj.Value = new Random().Next(1, 5000); proposalRepository.Insert(obj); } catch (Exception) { throw; } }