public IActionResult StatusUpdate([FromQuery] int projectId) { List <StatusUpdateOption> statusUpdateOptions = statusUpdateService.GetStatusUpdates(projectId); StatusUpdateModel transactionModel = new StatusUpdateModel() { StatusUpdateOptions = statusUpdateOptions }; return(View(transactionModel)); }
public List <StatusUpdateOption> GetStatusUpdatesOfProject(int id) { return(statusUpdateService.GetStatusUpdates(id)); }