public string UpdateVideoStatus(string username, string password, string fileName) { int userId = CheckUser(username, password); if (userId > 0) { VideoStatus objStatus = new VideoStatus(); objStatus.CreatedBy = userId; objStatus.CreatedDate = DateTime.Now; objStatus.FileName = fileName; objStatus.IsActive = true; objStatus.IsDeleted = false; objStatus.Status = true; objStatus.UserId = userId; VideoUploadManager objVideoUploadManager = new VideoUploadManager(); return objVideoUploadManager.UpdateVideoStatus(objStatus); } else { return "error"; } }
public ProfileController() { videoManager = new VideoUploadManager(); }