Exemplo n.º 1
0
        public BranchDto GetByID(int branchId)
        {
            var objuspBranchGetByIdResult = _dbContext.uspBranchGetById(branchId).ToList().FirstOrDefault();

            BranchDto objBranchDto = AutoMapperEntityConfiguration.Cast <BranchDto>(objuspBranchGetByIdResult);

            return(objBranchDto);
        }