public JsonResult GetOutgoings() { var result = _outgoingQueryServices.GetAllOutgoings(); var jsonresult = JsonConvert.SerializeObject(result); return(Json(jsonresult, JsonRequestBehavior.AllowGet)); }