public static int AddandGetId(string fileName, int fileSize, byte[] bytes, Guid userId) { string procName = "sqlUploadPicturByUser"; int newPicId = DBL.AddImage(procName, fileName, fileSize, bytes, userId); return(newPicId); }