private bool WriteDateToFile <T>(T data, string location) { return(WriteToFile(_serializerService.ToJson(data), location)); }