public ActionResult GetCallsAsJson(string contactId) { var calls = _callService.GetAllByContactIdWithUsers(HashidsHelper.Decrypt(contactId)); var vm = calls.Select(x => x.MapTo <CallVm>()); return(Json(new { success = true, data = vm })); }
public ActionResult GetCallsAsJson(string contactId) { var calls = _callService.GetAllByContactIdWithUsers(HashidsHelper.Decrypt(contactId)); var vm = calls.Select(x => x.MapTo <CallVm>()); return(Json(new { success = true, data = vm })); }