public ReturnResult <Computer> Edit(ComputerEditModel computer) { ComputerDAL computerDAL = new ComputerDAL(); var result = computerDAL.Edit(computer); return(result); }
public ReturnResult <Computer> Add(AddComputerViewModel computer) { ComputerDAL computerDAL = new ComputerDAL(); var result = computerDAL.Add(computer); return(result); }
public ReturnResult <Computer> GetAll(int id) { ComputerDAL computerDAL = new ComputerDAL(); var result = computerDAL.GetAll(id); return(result); }
public ReturnResult <Computer> GetAllComputerSearched(BaseCondition <Computer> condition, int computerRoomId) { ComputerDAL computerDAL = new ComputerDAL(); var result = computerDAL.GetAllComputerSearched(condition, computerRoomId); return(result); }