Esempio n. 1
0
        public int Update(FlightModel flight)
        {
            this.FlightRepository.Update(flight.GetModel());
            var result = this.UnitOfWork.SaveChanges();

            return(result);
        }
Esempio n. 2
0
        public int Insert(FlightModel flight)
        {
            var result = this.FlightRepository.Insert(flight.GetModel());

            return(result);
        }