public static ForwardingAgent ToEntity(this ForwardingAgentModel model, ForwardingAgent destination) { return(AutoMapperConfiguration.Mapper.Map(model, destination)); }
public static ForwardingAgentModel ToModel(this ForwardingAgent entity) { return(AutoMapperConfiguration.Mapper.Map <ForwardingAgent, ForwardingAgentModel>(entity)); }