public static void LogMessage(string fileId, string userId, string message, int currentProgress, int overAllProgress, bool finished = false) { StatusController.AddStatus(new Status() { CurrentMessage = message, CurrentProgress = currentProgress, FileID = fileId, Finished = finished, OverAllProgress = overAllProgress, UserID = userId }); }