コード例 #1
0
        public ReturnResult <Computer> Edit(ComputerEditModel computer)
        {
            ComputerDAL computerDAL = new ComputerDAL();
            var         result      = computerDAL.Edit(computer);

            return(result);
        }
コード例 #2
0
        public ReturnResult <Computer> Add(AddComputerViewModel computer)
        {
            ComputerDAL computerDAL = new ComputerDAL();
            var         result      = computerDAL.Add(computer);

            return(result);
        }
コード例 #3
0
        public ReturnResult <Computer> GetAll(int id)
        {
            ComputerDAL computerDAL = new ComputerDAL();
            var         result      = computerDAL.GetAll(id);

            return(result);
        }
コード例 #4
0
        public ReturnResult <Computer> GetAllComputerSearched(BaseCondition <Computer> condition, int computerRoomId)
        {
            ComputerDAL computerDAL = new ComputerDAL();
            var         result      = computerDAL.GetAllComputerSearched(condition, computerRoomId);

            return(result);
        }