public void UploadLog(int computerId, string logContents, string subType, string computerMac) { var computerLog = new Models.ComputerLog { ComputerId = computerId, Contents = logContents, Type = "image", SubType = subType, Mac = computerMac }; BLL.ComputerLog.AddComputerLog(computerLog); }