示例#1
0
        public async Task <ActionResult <GuidAPIModel> > PostGuid(GuidAPIModel inputModel)
        {
            GuidDataModel guidModel = await _manager.Add(inputModel);

            return(guidModel.ToAPIModel());
        }
示例#2
0
        public async Task <ActionResult <GuidAPIModel> > GetGuid(Guid guid)
        {
            GuidDataModel guidItem = await _manager.Get(guid);

            return(guidItem.ToAPIModel());
        }