/// <summary>
 ///     Deserializes responsemodel
 /// </summary>
 /// <param name="responseData">IResponseModel implementation as byte[]</param>
 /// <returns></returns>
 public static IResponseModel GetResponse(this byte[] responseData)
 {
     return(GenericSerializer.DeSerialize <IResponseModel>(responseData));
 }
 /// <summary>
 ///     Deserializes requestmodel
 /// </summary>
 /// <param name="requestData">IRequestModel implementation as byte[]</param>
 /// <returns></returns>
 public static IRequestModel GetRequest(this byte[] requestData)
 {
     return(GenericSerializer.DeSerialize <IRequestModel>(requestData));
 }
 /// <summary>
 ///     Deserializes event
 /// </summary>
 /// <param name="eventData">IEvent implementation as byte[]</param>
 /// <returns></returns>
 public static IEvent GetEvent(this byte[] eventData)
 {
     return(GenericSerializer.DeSerialize <IEvent>(eventData));
 }