/// <summary> /// Add the user's VLC response. /// </summary> /// <param name="response">The vlc response model.</param> /// <returns>bool</returns> public static bool AddVlcResponse(VLCUserResponseContract response) { using (var client = new SaltServiceProxy()) { return(client.Execute(proxy => proxy.AddVlcResponse(response))); } }
/// <summary> /// Adds the VLC questions response. /// </summary> /// <param name="response">The VLC response to save.</param> /// <returns></returns> public bool AddVlcResponse(VLCUserResponseContract response) { return(_surveyService.Resolve().AddVlcResponse(response.ToDomainObject <VLCUserResponseContract, VLCUserResponse>())); }