コード例 #1
0
        public DepartamentStatusResult Find(long id)
        {
            Model.DepartamentStatus entity = Dao.Find(id);
            DepartamentStatusResult result = ResultConverter.Convert(entity);

            return(result);
        }
        public DepartamentStatusResult Convert(Model.DepartamentStatus param)
        {
            DepartamentStatusResult result = new DepartamentStatusResult()
            {
                Id          = param.Id,
                Code        = param.Code,
                Name        = param.Name,
                Description = param.Description
            };

            return(result);
        }