public SaveResponse Create(IUnitOfWork uow, SaveRequest <MyRow> request)
        {
            request.Entity.Url          = RandomURLHelper.GetUrl(15);
            request.Entity.VisitedCount = 0;

            return(new MySaveHandler().Process(uow, request, SaveRequestType.Create));
        }
예제 #2
0
        public SaveResponse Create(IUnitOfWork uow, SaveRequest <MyRow> request)
        {
            var key = RandomURLHelper.GetUrl(15);

            request.Entity.Key = key;

            return(new MySaveHandler().Process(uow, request, SaveRequestType.Create));
        }