public ContentResult GetAllTransactions() { var list = ctx.GetAllTransactions(); return(Content(JsonConvert.SerializeObject(list), "application/json")); }