示例#1
0
        public async Task <int> Delete(DeleteSiteTypeRequest request)
        {
            var invSiteType = _autoMapper.Map <InvSiteType>(request);
            var resId       = invSiteType.InvSiteTypeID;
            await _repo.DeleteAsync(invSiteType);

            return(resId);
        }
示例#2
0
 public async Task <ActionResult <int> > Delete(DeleteSiteTypeRequest request)
 {
     return(await _siteTypesLogic.Delete(request));
 }