コード例 #1
0
        public Plan.Delete FromRequest(Request.Delete request)
        {
            var workPlan = new Plan.Recode(request.Requester, request.WorkDate.ToShortDateString(), request.WorkTime.ToString());

            return(new Plan.Delete(workPlan));
        }
コード例 #2
0
 protected override void Handle(Request.Delete <TEntity> request, AppDbContext service)
 {
     service.Remove(request.Entity);
 }