public int CreateNewExpenseReport(ExpenseReport expenseReport)
        {
            AuthorizationCheck();

            var repo = new ExpensesRepository();
            expenseReport.ExpenseReportId = 0;
            var dbExpenseReport = repo.SaveExpenseReport(new DbExpenseReport(expenseReport));

            return dbExpenseReport.ExpenseReportId;
        }
        public DbExpenseReport(ExpenseReport expenseReport)
        {
            this.Amount = expenseReport.Amount;
            this.Approver = expenseReport.Approver;
            this.CostCenter = expenseReport.CostCenter;
            this.DateResolved = expenseReport.DateResolved;
            this.DateSubmitted = expenseReport.DateSubmitted;
            this.EmployeeId = expenseReport.EmployeeId;
            this.ExpenseReportId = expenseReport.ExpenseReportId;
            this.Notes = expenseReport.Notes;
            this.Status = (DbExpenseReportStatus)expenseReport.Status;

            this.Charges = new HashSet<DbCharge>();
        }