public ActionResult DeleteRoutine(DeleteRoutineInput input)
        {
            var routineAppService = new RoutineAppService();

            routineAppService.Delete(input);
            return(new JsonResult("Success"));
        }
        public void Delete(DeleteRoutineInput input)
        {
            var context = new DailyRoutineDbContext();
            var routine = context.Routines.Where(x => x.Id == input.Id).FirstOrDefault();

            context.Routines.Remove(routine);
            context.SaveChanges();
        }