Beispiel #1
0
        public RedmineEmployee GetById(int id)
        {
            var source = _commonImporter.GetById(id);

            Log.Logger.Information($"resourcce {source}");

            return(_serializer.Deserialize <EmployeeContainer>(source).Employee);
        }
        public RedmineProject GetById(int id)
        {
            var source = _commonImporter.GetById(id);

            return(_serializer.Deserialize <ProjectContainer>(source).Project);
        }
        public RedmineTimeRecord GetById(int id)
        {
            var source = _commonImporter.GetById(id);

            return(_serializer.Deserialize <TimeRecordContainer>(source).TimeRecord);
        }
        public RedmineIssue GetById(int id)
        {
            var source = _commonImporter.GetById(id);

            return(_serializer.Deserialize <IssueContainer>(source).Issue);
        }