public ActionResult EditarHora(LancamentoHora model) { _otfsLancamentoHoraService.AtualizarHora(model); var listarHoras = new ListaHorasViewModel { TaskId = model.TaskId, HorasLancadas = _otfsLancamentoHoraService.ListarHoras(model.TaskId) }; return View("ListarHoras", listarHoras); }
public ActionResult ExcluirHora(int id, int taskId, string title) { _otfsLancamentoHoraService.ExcluirHora(id); var listarHoras = new ListaHorasViewModel { TaskId = taskId, Title = title, HorasLancadas = _otfsLancamentoHoraService.ListarHoras(taskId) }; return View("ListarHoras", listarHoras); }
public ActionResult ListarHoras(int taskId, string title) { var listarHoras = new ListaHorasViewModel { TaskId = taskId, Title = title, HorasLancadas = _otfsLancamentoHoraService.ListarHoras(taskId) }; return View(listarHoras); }