Cats.Models.Hubs.ViewModels.InternalMovementViewModel.InternalMovementViewModel C# (CSharp) Method

InternalMovementViewModel() public method

public InternalMovementViewModel ( List fromStore, List commodities, List programs, List units, List toStore, List reasons ) : System
fromStore List
commodities List
programs List
units List
toStore List
reasons List
return System
        public InternalMovementViewModel(List<StoreViewModel> fromStore,
                                         List<Commodity> commodities,
                                         List<ProgramViewModel> programs,
                                         List<Unit> units,
                                         List<StoreViewModel> toStore,
                                         List<ReasonViewModel> reasons 
            )
        {
            this.FromStore = fromStore;//repository.Hub.GetAllStoreByUser(user);
            this.FromStack = new List<int>();
            this.SelectedDate = DateTime.Now;
            //this.ReferenceNumber = "dude";
            this.Commodities = commodities;// repository.Commodity.GetAllParents();
            this.Programs = programs;//repository.Program.GetAllProgramsForReport();
            this.ProjectCodes = new List<ProjectCodeViewModel>();
            this.ShippingInstructions = new List<ShippingInstructionViewModel>();
            this.Units = units;//repository.Unit.GetAll();
            this.ToStore = toStore;// repository.Hub.GetAllStoreByUser(user);
            this.ToStack = new List<int>();
            this.Reason = reasons;// repository.Detail.GetReasonByMaster(Master.Constants.REASON_FOR_INTERNAL_MOVMENT);
            //this.Note
            //this.ApprovedBy =
        }

Same methods

InternalMovementViewModel::InternalMovementViewModel ( ) : System
InternalMovementViewModel